package com.bw.admin.service.impl;

import com.bw.admin.mapper.AdminMapper;
import com.bw.admin.service.AdminService;
import com.bw.common.domain.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author：HaoYunde
 * @Package：com.bw.admin.service.impl
 * @Project：hyd-boot
 * @name：AdminServiceImpl
 * @Date：2024/6/17 8:58
 */
@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    public AdminMapper adminMapper;

    @Override
    public Admin findAdminByadminPhone(String adminName) {
        return adminMapper.findAdminByadminPhone(adminName);
    }
}
